package dfbz.demo.homework4;

public interface CompareAble {
    public default Apple compare(Apple a1,Apple a2){
        System.out.println("挑选大的苹果:");
        return a1.getSize()>a2.getSize()?a1:a2;
    }
}
